import { init } from 'snabbdom/build/package/init'
import { h } from 'snabbdom/build/package/h'

let patch = init([])
let vnode = h('div#container', 'hello word')

const app = document.querySelector('#app')

let oldVnode = patch(app, vnode)

vnode = h('div.cls', 'hello wlz')
console.log(vnode);
patch(oldVnode, vnode)